package com.delivery.www.dao;

import com.delivery.www.po.Store;

import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

public interface StoreDao {
    //创建店铺
    public int createStore(String name, String introduce, int id, int dishNum, int commentNum, int proOrderNum, int unproOrderNum);

    //商家获取店铺信息
    public Store getOwnStore(int id);

    //查看所有店铺
    public List<Store> getAllStore() ;

    //修改店铺信息
    public int updateStoreName(int stoerId, String value);

    public int updateStoreIntroduce(int storeId, String value);
}
